home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
load_mapped.ifx
< prev
next >
Wrap
Text File
|
2004-08-03
|
786b
|
33 lines
/*
* $VER: Load_Mapped.ifx 2.6 (24.04.96)
* Copyright © 1992-1996 Nova Design, Inc.
* Written by Thomas Krehbiel
*
* Load a file as a colormapped image.
*
* Inputs:
* Word(Arg(1),1) = Frame number (1 - N)
* Word(Arg(1),2) = Main filename ("-" if not specified)
* Word(Arg(1),3) = Swap filename ("-" if not specified)
* Word(Arg(1),4) = Sequence number
* Word(Arg(1),5) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
/*
* AutoFX 2.6 now sets some clip variables. If we find them, use them instead
* of the arg strings so that we can handle filenames with spaces in them.
*/
MainName = GETCLIP('AUTOFX_MAIN')
IF MainName = "" THEN MainName=word(Arg(1),2)
LoadMapped '"'MainName'"'
EXIT rc